package com.lfx.work;

import java.util.HashMap;
import java.util.Map;

/**
 * @author 李逢喜
 * create 2021/7/20
 */
public class WorkerOne {

    public static void main(String[] args) {
        Map<Integer,Integer> map=new HashMap<Integer,Integer>();
        int[] arr=new int[]{1,3,4,1300};
        String result="NO";
        for (int i : arr) {
            if( map.containsKey(+i)){
                result="YES";
                break;
            }
            map.put(+i,i);
        }

        System.out.println(result);
    }

}
